﻿/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
    // config.uiColor = '#AADC6E';
    //config.width = 550;
    config.toolbar = 'CMS';
    //config.toolbar = 'Full';
    config.toolbar_CMS = [

       //['Image','Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'],

       // ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],

       // ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],

       // [ 'Format', 'Font', 'FontSize'],

       // ['TextColor', 'BGColor']

       ['Source', 'Save', 'NewPage', 'Preview',  'Templates'],

       ['Cut', 'Copy', 'Paste', 'PasteText',  'SpellChecker', 'Scayt'],

       ['Undo', 'Redo', '-', 'Find', 'Replace', 'SelectAll', 'RemoveFormat'],

       //['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],

       '/',

       ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'],

        ['NumberedList', 'BulletedList',  'Outdent', 'Indent', 'Blockquote'],

        ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],

        //['Link', 'Unlink', 'Anchor'],

       //['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],
       ['Image', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],

       '/',

        ['Styles', 'Format', 'Font', 'FontSize'],

        ['TextColor', 'BGColor'],

         ['Maximize', 'ShowBlocks']
    ];

    config.toolbar_Full = [

       ['Source', '-', 'Save', 'NewPage', 'Preview', '-', 'Templates'],

       ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Print', 'SpellChecker', 'Scayt'],

       ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],

       //['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],

       '/',

       ['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'],

        ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],

        ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],

        //['Link', 'Unlink', 'Anchor'],

       //['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],
       ['Image',  'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],

       '/',

        ['Styles', 'Format', 'Font', 'FontSize'],

        ['TextColor', 'BGColor'],

         ['Maximize', 'ShowBlocks', '-']

    ];
};
